package com.da.sumup.service;

import com.da.sumup.dao.bean.ArticleDO;
import com.da.sumup.dao.bean.CatalogueDO;
import com.da.sumup.pojo.ArticleBO;
import com.da.sumup.pojo.PageBO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IArticleService {

    Page<ArticleDO> findAll(PageBO pageBO, List<String> sorts);

    void save(ArticleBO articleBO);

    ArticleDO findOne(String uuid);

    List<ArticleDO> findAll();

    List<ArticleDO> findMain(String title);

    void delete(String uuid);

}
